package com.xjscrm.console.constant;

public interface WxLoginAuthorizationPage {

    String successResponse = "<html lang=\"en\">\n" +
            "\n" +
            "<head>\n" +
            "    <meta charset=\"UTF-8\">\n" +
            "    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n" +
            "    <style>\n" +
            "        .container {\n" +
            "            display: flex;\n" +
            "            align-items: center;\n" +
            "            flex-direction: column;\n" +
            "            justify-content: center;\n" +
            "        }\n" +
            "\n" +
            "        .right {\n" +
            "            width: 60px;\n" +
            "            height: 60px;\n" +
            "            border-radius: 50%;\n" +
            "            margin-top: 100px;\n" +
            "            margin-bottom: 15px;\n" +
            "            border: 5px solid #1890ff;\n" +
            "            display: flex;\n" +
            "            justify-content: center;\n" +
            "            align-items: center;\n" +
            "            position: relative;\n" +
            "        }\n" +
            "\n" +
            "        .right::before {\n" +
            "            content: \"\";\n" +
            "            display: block;\n" +
            "            width: 30px;\n" +
            "            height: 15px;\n" +
            "            border: 5px solid #1890ff;\n" +
            "            border-right: none;\n" +
            "            border-top: none;\n" +
            "            transform: rotate(-45deg) translate(3px, -0px);\n" +
            "        }\n" +
            "    </style>\n" +
            "</head>\n" +
            "\n" +
            "<body>\n" +
            "    <div class=\"container\">\n" +
            "        <div class=\"right\"></div>\n" +
            "        <div class=\"success\">授权成功</div>\n" +
            "    </div>\n" +
            "</body>\n" +
            "\n" +
            "</html>";


    String failResponse = "<html lang=\"en\">\n" +
            "<head>\n" +
            "    <meta charset=\"UTF-8\">\n" +
            "    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n" +
            "    <style>\n" +
            "        .container {\n" +
            "            display: flex;\n" +
            "            align-items: center;\n" +
            "            flex-direction: column;\n" +
            "            justify-content: center;\n" +
            "        }\n" +
            "\n" +
            "        .right {\n" +
            "            width: 60px;\n" +
            "            height: 60px;\n" +
            "            border-radius: 50%;\n" +
            "            margin-top: 100px;\n" +
            "            margin-bottom: 15px;\n" +
            "            border: 5px solid red;\n" +
            "            display: flex;\n" +
            "            justify-content: center;\n" +
            "            align-items: center;\n" +
            "            position: relative;\n" +
            "        }\n" +
            "\n" +
            "        .right::before {\n" +
            "            content: '❌';\n" +
            "            position: absolute;\n" +
            "            top: 50%;\n" +
            "            left: 50%;\n" +
            "            font-size: 1.3em;\n" +
            "            transform: translate(-50%, -50%);\n" +
            "            color: red;\n" +
            "        }\n" +
            "    </style>\n" +
            "</head>\n" +
            "\n" +
            "<body>\n" +
            "    <div class=\"container\">\n" +
            "        <div class=\"right\"></div>\n" +
            "        <div class=\"success\">授权失败</div>\n" +
            "    </div>\n" +
            "</body>\n" +
            "\n" +
            "</html>";

}
